package sys.knot.validator;

import sys.knot.configuration.ConfigurationException;
import sys.knot.model.Indata;
import sys.knot.model.ParameterType;

import java.util.Date;
import java.util.List;

public interface Validator {
    public void addValidatorParameters(String[] args) throws ConfigurationException;
    public List<ParameterType> getSupportedTypes();
    public void validate(String parameterName, String parameterValue) throws ValidationException;
    public void validate(String parameterName, int parameterValue) throws ValidationException;
    public void validate(String parameterName, Date parameterValue) throws ValidationException;
    public void validate(String parameterName, String[] parameterValue) throws ValidationException;
    public void validate(String parameterName, int[] parameterValue) throws ValidationException;
}
